package com.apeli.system.service.impl;

import com.apeli.system.domain.Comment;
import com.apeli.system.domain.vo.CommentVO;
import com.apeli.system.mapper.CommentMapper;
import com.apeli.system.service.CommentService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *
 */
@Service
@RequiredArgsConstructor(onConstructor = @__(@Autowired))
public class CommentServiceImpl extends ServiceImpl<CommentMapper, Comment>
    implements CommentService {

    private final CommentMapper commentMapper;

    @Override
    public List<CommentVO> listComment(CommentVO commentVO) {
        return commentMapper.listComment(commentVO);
    }
}




